package misp_backend.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.List;

import lombok.Data;

/**
 * 
 * @TableName package
 */
@TableName(value ="package")
@Data
public class Package {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long packageId;

    /**
     * 
     */
    private BigDecimal price;

    /**
     * 
     */
    private String description;
    private String packageName;

    private Integer status;  // 0-下架 1-上架
    private String cover;

    @TableField(exist = false)
    private List<Packagedetails> dishes;
}